-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[develop] Install kernel-devel for Rocky Linux from vault #5935
Conversation
Signed-off-by: Enrico Usai <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5935 +/- ##
========================================
Coverage 90.15% 90.15%
========================================
Files 180 180
Lines 15739 15739
========================================
Hits 14189 14189
Misses 1550 1550
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2509b2e
to
64363a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we should add a separate step for the installation of the kernel packages (other than headers) for debian-based distributions.
64363a1
to
05a057d
Compare
05a057d
to
b800acf
Compare
kernel-devel should be aligned to the installed version. If there is kernel 8.8 we should have kernel-devel 8.8. Without this patch we were installing latest kernel-devel package. We cannot use `--releasever` to install 8.8 version because it is not more available in the repo. Previous releases are moved into a vault area once a new minor release version is available for at least a week. On RHEL8 instead all versions of the packages will remain available. With this patch we're downloading this specific package from vault and installing it if it's not available in the repository for the specific release version. Signed-off-by: Enrico Usai <[email protected]>
Error was: ``` yum update -y Error: Problem: package rocky-repos-8.9-1.6.el8.noarch requires system-release = 8.9-1.6.el8, but none of the providers can be installed - cannot install the best update candidate for package rocky-repos-8.8-1.7.el8.noarch - package rocky-release-8.9-1.6.el8.noarch is filtered out by exclude filtering ``` Signed-off-by: Enrico Usai <[email protected]>
b800acf
to
3f0e2c9
Compare
Description of changes
kernel-devel should be aligned to the installed version.
If there is kernel 8.8 we should have kernel-devel 8.8.
Without this patch we were installing latest kernel-devel package.
We cannot use
--releasever
to install 8.8 version because it is not more available in the repo.Previous releases are moved into a vault area once a new minor release version is available for at least a week.
On RHEL8 instead all versions of the packages will remain available.
With this patch we're downloading this specific package from vault and installing it
if it's not available in the repository for the specific release version.
References
Related to aws/aws-parallelcluster-cookbook#2598